#ifndef __connection_loop_hpp__
#define __connection_loop_hpp__

#include <vector>

namespace croco {
namespace os {
    class thread_sync;
}
namespace ip {
    class server_tcp;
}
namespace ssh {
    class integration;
}
} // namespace croco

void connection_loop(croco::ip::server_tcp& socket, croco::ssh::integration& integration);

void connection_thread(croco::ip::server_tcp& socket, croco::os::thread_sync& sync, croco::ssh::integration& integration, const std::vector<int>& terms = std::vector<int>());

#endif // __connection_loop_hpp__
